<%@ page language="java" import="java.util.*" pageEncoding="UTF-8" %>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://"
            + request.getServerName() + ":" + request.getServerPort()
            + path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <base href="<%=basePath%>">

    <title>修改密码</title>
    <link type="text/css" href="css/base.css" rel="stylesheet"/>
    <meta http-equiv="pragma" content="no-cache">
    <meta http-equiv="cache-control" content="no-cache">
    <meta http-equiv="expires" content="0">
    <meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
    <meta http-equiv="description" content="This is my page">
    <script type="text/javascript" src="<%=basePath%>/js/jquery.min.js"></script>
    <script type="text/javascript" src="../js/menu.js"></script>
    <!--
<link rel="stylesheet" type="text/css" href="styles.css">
-->
</head>

<body>
<%@ include file="/page/share/menu.jsp" %>

<div id="content">
    <form method="post" action="Person!changeName.action">
        <table>
            <tr>
                <td align="right">
                    宿 舍：
                </td>
                <td>
                    <span style="width: 200px;height:
                     25px;">
                        ${person.dormitory.dormitoryId}
                    </span>
                    <br/>
                </td>
            </tr>
            <tr>
                <td align="right">
                    原用户名：
                </td>
                <td>
                    <span id="original_password" style="width: 200px;height:
                     25px;">
                        ${person.userName}
                    </span>
                    <br/>
                </td>
            </tr>
            <tr>
                <td align="right">
                    新用户名：
                </td>
                <td>
                    <input type="text" name="userName" value="" style="width: 200px;height: 25px;"/><br/>
                    <%--默认两周 依赖cookie--%>
                </td>
            </tr>

            <tr>
                <td></td>
                <td>
                    <input type="submit" value="修改" onMouseOver="this.style.background='#2569c1'"
                           onmouseout="this.style.background='#114a93'"
                           style="width:200px;height:30px;cursor:pointer;border: none;background: #2569c1;color: white;font-size: 16px;"/>

                </td>
            </tr>
        </table>
    </form>
</div>

<div id="footer">
    <p style="text-align: center;color: #757575;padding: 20px 0px 0px 0px; font:12px;">Copyright © 2010-2013 蓝天白云团队
        版权所有</p>
</div>
</body>
</html>
